#-------------------------------------------------
#
# Project created by QtCreator 2021-12-16T21:20:45
#
#-------------------------------------------------

QT       += core gui widgets sql network
CONFIG += c++11

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DESTDIR = $$PWD/bin
TARGET = QSchoolNavigation
TEMPLATE = app

# 修正后的编译器配置
CONFIG += c++11
QMAKE_CXXFLAGS += -std=gnu++11
DEFINES += __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 \
           QT_NO_UNSAFE_POINTER_COMPARISON

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
QMAKE_CXXFLAGS += -Wno-return-type



# 删除以下重复配置（原30行处）
# 注意这里的中文注释和参数重复问题
SOURCES += \
    aboutwidget.cpp \
    adminwidget.cpp \
    campusprofilewidget.cpp \
    centerwidget.cpp \
    changewidget.cpp \
    corediswidget.cpp \
    database.cpp \
    exhibitionwidget.cpp \
    loginwidget.cpp \
        main.cpp \
    mainwidget.cpp \
    managewidget.cpp \
    mapcorewidget.cpp \
    navigationwidget.cpp \
    resigerwidget.cpp

HEADERS += \
    aboutwidget.h \
    adminwidget.h \
    campusprofilewidget.h \
    centerwidget.h \
    changewidget.h \
    corediswidget.h \
    database.h \
    exhibitionwidget.h \
    loginwidget.h \
    mainwidget.h \
    managewidget.h \
    mapcorewidget.h \
    navigationwidget.h \
    resigerwidget.h

FORMS += \
    aboutwidget.ui \
    adminwidget.ui \
    campusprofilewidget.ui \
    centerwidget.ui \
    changewidget.ui \
    corediswidget.ui \
    exhibitionwidget.ui \
    loginwidget.ui \
    mainwidget.ui \
    managewidget.ui \
    navigationwidget.ui \
    resigerwidget.ui


RESOURCES += \
    pictures.qrc
RESOURCES += \
    other/qss.qrc \
    other/main.qrc
win32:RC_FILE   = other/main.rc
